<template>
  <div>
    <div v-if="error.statusCode === 404">页面{{error.statusCode}}</div>
    <div v-else>页面{{error.statusCode}}</div>
  </div>
</template>
<script>
export default {
  props: ['error']
}
</script>